<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>商品分类</title>
	<meta name="renderer" content="webkit"><!-- 启用360浏览器的极速模式(webkit) -->
	<link rel="icon" href="./favicon.ico"  type="image/x-icon">
	<link rel="stylesheet" href="./static/css/AnCss/AnIndex.css">
	<link rel="stylesheet" href="./static/css/AnCss/default.css">
	<link rel="stylesheet" href="./static/css/AnCss/AnMain.css">
	<style>
	/*body *{box-sizing: border-box;border:1px solid blue}*/
	</style>
</head>
<body>
	<div class="MaxAn" AnType="topNav" styletype="secondary">
		<div class="list" >
			<svg class="icon" aria-hidden="true" AnUrl="./index.html">
  			  <use xlink:href="#icon-fanhui"></use>
			</svg>
		</div>
		<div class="search">
			<div>
				<div class="logo">
					<svg class="icon" aria-hidden="true">
		  			  <use xlink:href="#icon-sousuo"></use>
					</svg>
				</div>
				<input type="text" placeholder="搜搜看">
			</div>
		</div>
		<div class="message">
			<svg class="icon" aria-hidden="true" AnUrl="./login.html">
  			  <use xlink:href="#icon-more"></use>
			</svg>
		</div>
	</div>
	<!-- list -->
	<div class="MaxAn" AnType="goodsList">
		<div class="theFirList">
		</div>
		<div class="theSecList">
		</div>
	</div>
</body>
<script src="./static/js/jquery-1.8.3.min.js"></script>
<script src="./static/js/AnJs/AnIndex.js"></script>
<script src="./static/js/iconfont.js"></script>
<script src="./static/js/AnJs/AnMain.js"></script>
<script src="./static/js/AnJs/AnPackage.js"></script>
<script>
	window.onload=function(){
		An.html.pageList();
		// 下面空出的一行应设置右侧菜单的默认post请求
		// -------------------------------------------//start
			An.source.list_secondList(theSecList_json);//加载 内容的函数(假json)
		// -------------------------------------------//over
		$('.MaxAn[AnType="goodsList"] .theFirList').on("click",function(e){//利用事件冒泡的从底部向上的特性，免去给每一个子元素绑定监听事件的遍历过程，节约系统资源。
		    $(e.target).attr("class","select").siblings().removeAttr("class","select");//改变样式
		    //下面空出的一行为点击其他左侧列表项时的post请求,e.target为触发事件的元素  调用函数:   An.source.list_secondList(theSecList_json)
		    // -------------------------------------------//start
		    
		    // -------------------------------------------//over
		});
		An.main.reloadAdd();
		An.Public.ForInSetCenter(setDivCenterArray);//设置位置  此行代码必须在最后执行
	}
</script>
</html>